function getWidth(){
    var screenWidth = window.innerWidth;
    var container = document.getElementById('container');
    if (screenWidth < 960) {
        // container.style.width = screenWidth + 'px';
        container.style.width = Math.max(screenWidth, 344) + 'px';
    } else {
        container.style.width = '378px';
        container.style.margin='0 auto'
    }
    container.style.overflow = 'scroll';
    console.log(screenWidth);
}
getWidth()
